package cn.yunhe.dao;

import cn.yunhe.entity.President;
import cn.yunhe.entity.PresidentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PresidentMapper {
    int countByExample(PresidentExample example);

    int deleteByExample(PresidentExample example);

    int deleteByPrimaryKey(Integer pId);

    int insert(President record);

    int insertSelective(President record);

    List<President> selectByExample(PresidentExample example);

    President selectByPrimaryKey(Integer pId);

    int updateByExampleSelective(@Param("record") President record, @Param("example") PresidentExample example);

    int updateByExample(@Param("record") President record, @Param("example") PresidentExample example);

    int updateByPrimaryKeySelective(President record);

    int updateByPrimaryKey(President record);
}